package com.example.pages;

import org.openqa.selenium.By;
import org.openqa.selenium.WebElement;
import org.openqa.selenium.support.FindBy;

/**
 * Created with IntelliJ IDEA.
 * User: kzv
 * Date: 27.02.13
 * Time: 13:35
 * To change this template use File | Settings | File Templates.
 */
public class CreatedMoviePage extends InternalPage {
    @FindBy(id = "movie")
    public WebElement movieBlock;

    public boolean isOnMoviePage() {
        return movieBlock.isDisplayed();
    }
}
